package com.macro.mall.dto;

import com.macro.mall.model.PmsProduct;
import com.macro.mall.model.PmsSkuStock;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class CombinedPmsProduct extends PmsProduct{


    @ApiModelProperty(value = "父级商品规格")
    private PmsSkuStock pmsSkuStock;
//    @ApiModelProperty(value = "该商品在组合商品中的价格")
//    private BigDecimal combinedPrice;
//    @ApiModelProperty(value = "该商品在组合商品中的数量")
//    private Integer combinedNum;
    @ApiModelProperty(value = "子级商品规格")
    private List<CombinedPmsProduct> combinedProductList;

    @ApiModelProperty("子商品信息集合")
    private  List<ProductDeitail> productDeitailList;

    @ApiModelProperty("查看用户的类型")
    private Integer adminType;

}
